package cate.game.server.configuration;

import cp.server.template.gs.GsEnvBase;
import lombok.Data;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Slf4j
@Data
@Configuration
@ConfigurationProperties(prefix = "cate")
public class GameServerEnv extends GsEnvBase {

    @Getter
    @Value("${cate.game.web-scheme}")
    private String webScheme;

    @Getter
    @Value("${server.port}")
    private int webPort;

}
